<?php $__env->startSection("content"); ?>
<div class="fly-home fly-panel" style="background-image: url();">
    <img src="<?php echo e($user->face); ?>" alt="<?php echo e($user->name); ?>">
    <h1><?php echo e($user->name); ?>

        <i class="iconfont           icon-nv        "></i></h1>
    <p class="fly-home-info">
        <i class="iconfont icon-kiss" title="飞吻"></i>
        <span style="color: #FF7200;"><?php echo e($user->kiss); ?>飞吻</span>
        <i class="iconfont icon-shijian"></i>
        <span><?php echo e($user->created_at); ?>加入</span>
        <i class="iconfont icon-chengshi"></i>
        <span>来自<?php echo e($user->city); ?></span></p>
    <p class="fly-home-sign"><?php if(empty($user->sign)): ?>（这个人懒得留下签名）<?php endif; ?><?php echo e($user->sign); ?></p></div>
<div class="layui-container">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6 fly-home-jie">
            <div class="fly-panel">
                <h3 class="fly-panel-title"><?php echo e($user->name); ?> 最近的提问</h3>
                <ul class="jie-row">
                    <?php $__currentLoopData = $user->question; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $question): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li>
                        <a href="/question/<?php echo e($question->id); ?>/show" class="jie-title"><?php echo e($question->title); ?></a>
                        <i><?php echo e($question->created_at->diffForHumans()); ?></i>
                        <em class="layui-hide-xs"><?php echo e($question->view_num); ?>阅/<?php echo e(count($question->answer)); ?>答</em></li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            </div>
        </div>
        <div class="layui-col-md6 fly-home-da">
            <div class="fly-panel">
                <h3 class="fly-panel-title"><?php echo e($user->name); ?>  最近的回答</h3>
                <ul class="home-jieda">
                    <?php $__currentLoopData = $user->answer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $answer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li>
                        <p>
                            <span><?php echo e($answer->created_at); ?></span>在
                            <a href="/question/<?php echo e($answer->question->id); ?>/show" target="_blank"><?php echo e($answer->question->title); ?></a>中回答：</p>
                        <div class="home-dacontent"><?php echo $answer->content; ?>

                            <br>
                            <!--<a href="http://www.layui.com/doc/modules/laytpl.html#delimiters" target="_blank">http://www.layui.com/doc/modules/laytpl.html#delimiters</a></div>-->
                    </li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                </ul>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make("layout.main", array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>